package com.xteam.ecsystem.service.front;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xteam.ecsystem.dao.IFrontGoodsDao;
import com.xteam.ecsystem.utils.PageCenterStation;

@Service
public class FrontGoodsListService {
	
	@Autowired
	private IFrontGoodsDao ifgDao;
	
	/**
	 * 
	 * 返回前台标签对应的商品列表
	 * @author Administrator
	 * @param goodstype
	 * @param goodsgroup
	 * @param pageIndex
	 * @param pageSize
	 * @return
	 */
	public PageCenterStation<?> getGoodsList(String goodstype, String goodsgroup, String brand, String attr, int pricemin, int pricemax, int pageindex,
			int pagesize,String keywords) {
		return ifgDao.getGoodsList(goodstype,goodsgroup,brand,attr,pricemin,pricemax,pageindex,pagesize,keywords);
	}
	
}
